package com.gitee.starblues.cloud.nacos;

import com.gitee.starblues.core.PluginInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author starBlues
 * @version 1.0
 */
@FeignClient(
        name = "main-service",
        url = "http://localhost:8080/main/hello"
)
public interface TestFeignService {

    @GetMapping
    String hello(@RequestParam("name") String name);

}
